home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / acpi / events / powerbtn < prev    next >
Encoding:
Text File  |  2006-09-15  |  423 b   |  14 lines

  1. # /etc/acpi/events/powerbtn
  2. # This is called when the user presses the power button and calls
  3. # /etc/acpi/powerbtn.sh for further processing.
  4.  
  5. # Optionally you can specify the placeholder %e. It will pass
  6. # through the whole kernel event message to the program you've
  7. # specified.
  8.  
  9. # We need to react on "button power.*" and "button/power.*" because
  10. # of kernel changes.
  11.  
  12. event=button[ /]power
  13. action=/etc/acpi/powerbtn.sh
  14.